package com.ruoyi.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * #店铺订单地址信息对象 bm_address
 * 
 * @author ruoyi
 * @date 2023-08-03
 */
public class BmAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Long addressId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long sellerId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacter;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 大概地址 */
    @Excel(name = "大概地址")
    private String mainAddress;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 是否默认地址 0.不是 1.是 */
    @Excel(name = "是否默认地址 0.不是 1.是")
    private Long isDefault;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Long isDeleted;

    /** 经度 */
    @Excel(name = "经度")
    private String lng;

    /** 纬度 */
    @Excel(name = "纬度")
    private String lat;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }
    public void setContacter(String contacter) 
    {
        this.contacter = contacter;
    }

    public String getContacter() 
    {
        return contacter;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setMainAddress(String mainAddress) 
    {
        this.mainAddress = mainAddress;
    }

    public String getMainAddress() 
    {
        return mainAddress;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIsDefault(Long isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Long getIsDefault() 
    {
        return isDefault;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("sellerId", getSellerId())
            .append("contacter", getContacter())
            .append("tel", getTel())
            .append("mainAddress", getMainAddress())
            .append("address", getAddress())
            .append("isDefault", getIsDefault())
            .append("isDeleted", getIsDeleted())
            .append("lng", getLng())
            .append("lat", getLat())
            .toString();
    }
}
